#include<iostream>
#include"my_binary_tree.h"

using namespace std;


int main(){
	vector<int> v={1,2,3,4,5,6,7};
//	for_each(v.begin(),v.end(),print);
//	cout<<endl;
	my_full_binary_tree<int> origin(0);
	my_binary_tree<int>* p=origin.construct_full_binary_tree(v,0);	
	cout<<*p<<endl;
	cout<<(*p)[6]<<endl;
	
	return 0;
}













 
